<%@ page contentType="text/html;charset=UTF-8" isELIgnored="false" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <title>简历列表</title>
</head>
<body>
<h1>简历列表：</h1>
<div><a href="/resume/toSave">新增</a></div>
<table border="1">
    <thead>
    <tr>
        <td>id</td>
        <td>姓名</td>
        <td>地址</td>
        <td>电话号</td>
        <td>操作</td>
    </tr>
    </thead>
    <tbody>
    <c:forEach items="${list}" varStatus="i" var="item">
        <tr>
            <td>${item.id}</td>
            <td>${item.name}</td>
            <td>${item.address}</td>
            <td>${item.phone}</td>
            <td><a href="/resume/toUpdate?id=${item.id}">更新</a>/<a href="/resume/del?id=${item.id}">删除</a></td>
        </tr>
    </c:forEach>
    </tbody>

</table>

</body>
</html>
